lcGripAdd Home

Adds object grip. Color and size of for all grips are defined by global properties LC_PROP_G_GRIPCOLOR and LC_PROP_G_GRIPSIZE.

 BOOL lcGripAdd (
   HANDLE hLcWnd,
   HANDLE hEntity,
   int iGrip,
   int GripType,
   double X,
   double Y,
   double Angle,
   double Y0,
   double Y0
 );

Parameters
hLcWnd
  Handle to LiteCAD graphics window.
hEntity
  Handle to the entity that owns the grip.
iGrip
  Index of the grip (within an entity).
GripType
  Type of the grip. Can be one of the following values:

Value Type
LC_GRIP_POINT Point
LC_GRIP_CENROT Rotation
LC_GRIP_ANGLE Angle
LC_GRIP_ANGLE2 Angle
LC_GRIP_ARCRAD Arc radius
X, Y
  Grip position.
Angle
  Grip angle.
X0, Y0
  Grip basepoint position.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  lcGripClearlcGripSet